package com.gu.service.impl;

import com.gu.entity.VehicleInfo;
import com.gu.mapper.VehicleInfoMapper;
import com.gu.service.VehicleInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: gusongliao
 * @Description: 车辆信息服务
 * @createDate 2023/01/07 0:26
 */
@Service
public class VehicleInfoServiceImpl implements VehicleInfoService {


    @Autowired
    private VehicleInfoMapper vehicleInfoMapper;

    /**
     * 查询全部数据
     * @return
     */
    @Override
    public List<VehicleInfo> getAllVehicleInfo() {
        return vehicleInfoMapper.getAllVehicleInfo();
    }
}
